package com.crm.service.before_sale;

import com.crm.pojo.ClientNeed;
import com.crm.vo.ClientNeedVO;
import com.crm.vo.Result;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 客户需求
 */
public interface ClientNeedService {

    /**
     * 分页展示客户需求列表
     * @param clientNeed
     * @param curpage
     * @param pagesize
     * @param recodeStartTime
     * @param recodeEndTime
     * @return
     */
    public List<ClientNeed> showClientNeedList(ClientNeed clientNeed, int curpage, int pagesize,  Date recodeStartTime,Date recodeEndTime);

    /**
     * 获取客户需求总数量
     * @param clientNeed
     * @param recodeStartTime
     * @param recodeEndTime
     * @return
     */
    public Long getClientNeedCount(ClientNeed clientNeed, Date recodeStartTime,Date recodeEndTime);


    /**
     * 删除需求
     * @param needId
     */
    public Result deleteClientNeed(Long needId);

    /**
     * 添加客户需求
     * @param needTheme
     * @param clientId
     * @param contactId
     * @param chanceId
     * @param recordTime
     * @param importance
     * @param needContent
     * @return
     */
    public Result addClientNeed(String needTheme, BigDecimal clientId,BigDecimal contactId,BigDecimal chanceId,Date recordTime,String importance,String needContent);

    /**
     * 编辑客户需求
     *
     * @return
     */
    public Result editClientNeed(ClientNeed clientNeed);
}
